209
a:4:{s:8:"template";a:2:{s:48:"E:/xampp/htdocs/rbac/Admin/Tpl/Article/edit.html";b:1;s:27:"../Common/head_article.html";b:1;}s:9:"timestamp";i:1522056609;s:7:"expires";i:1522056612;s:13:"cache_serials";a:0:{}}<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文章</title>
    <link href="http://localhost/rbac/Admin/Tpl/Public/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
    <link href="http://localhost/rbac/Admin/Tpl/Public/css/admin-article.css" type="text/css" rel="stylesheet"/>
    <script src="http://localhost/rbac/Admin/Tpl/Public/js/jquery-3.2.1.min.js"></script>
    <script src="http://localhost/rbac/Admin/Tpl/Public/js/bootstrap.min.js"></script>
</head><body>
<div class="container-fluid">
    <form action="" method="post" enctype="multipart/form-data">
        <div class="col-sm-12 col-md-12 col-lg-12" style="margin-top: 20px;">
            <p class="article-title">文章标题</p>
            <input value="qqqqqqqqqqqqqqqqqdddddddddd" name="title" type="text" class="form-control" placeholder="请输入文章标题" required/>
        </div>
        <div class="col-sm-12 col-md-12 col-lg-12 article-item-top">
            <p class="article-title">所属分类</p>
            <select name="category_cid" class="form-control" required>
                <option value="">--请选择分类--</option>
                                    <option  value="1">动态</option>
                                    <option  selected="selected"  value="12">前端</option>
                                    <option  value="13">后端</option>
                                    <option  value="18">图片</option>
                            </select>
        </div>
        <div class="col-sm-12 col-md-12 col-lg-12 article-item-top">
            <p class="article-title">摘要</p>
            <textarea name="digest" class="form-control quit-drag" placeholder="请输入文章摘要">qqqqqqqqqqqqqqqqqqqqqqqqqdddddddddddddddddddddd</textarea>
        </div>
        <div class="col-sm-12 col-md-12 col-lg-12 article-item-top" id="thumb-box">
            <p class="article-title">图片</p>
                            <img src="./Upload/1520261070973121.jpg" height="100"/>&nbsp;
                <a href="#" id="img-del" style="color: red;font-weight: 700;text-decoration: none;font-size: 18px;"><span class="glyphicon glyphicon-remove"></span></a>
                    </div>
        <div class="col-sm-12 col-md-12 col-lg-12 article-item-top">
            <p class="article-title">内容</p>
            <textarea name="content" class="form-control quit-drag" placeholder="请输入文章内容" required rows="20">qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqdddddddddddddddddddddd</textarea>
        </div>
        <input type="hidden" name="thumb" value="./Upload/1520261070973121.jpg"/>
        <input type="hidden" name="aid" value="35"/>
        <div class="col-sm-12 col-md-12 col-lg-12" style="margin-top: 15px;">
            <button class="btn btn-primary" type="submit">确 定</button>
            <a class="btn btn-warning" href="javascript:history.go(-1)">返 回</a>
        </div>
    </form>
</div>

    <script type="text/javascript">
        $('#img-del').click(function(){
            $('input[name=thumb]').val('');
            var str = '<p class="article-title">图片</p><input name="thumb" id="thumb" type="file"/>';
            $('#thumb-box').html(str);
        })
    </script>

</body>
</html>